﻿using System;
using System.Collections.Generic;
using System.Text;
using UnityEngine;

/// <summary>
/// 建造者模式：管理类
/// </summary>
public class CharacterBuilderDirector
{
    // 创建角色
    public static ICharacter Construct(ICharacterBuilder builder)
    {
        builder.AddCharacterAttr();
        builder.AddGameObject();
        builder.AddWeapon();

        builder.AddInCharacterSystem();
        return builder.GetResult();
    }
}
